package com.zelix;

import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
import java.util.EventObject;

final class h extends KeyAdapter {

    private final o2 a;

    h(o2 o2) {
        a = o2;
    }

    public void keyPressed(KeyEvent keyevent) {
        if (keyevent.getKeyCode() == 10) {
            if (keyevent.getSource() == ((h2) (a)).u) {
                a.p();
            } else if (keyevent.getSource() == ((h2) (a)).v) {
                a.h();
            } else if (keyevent.getSource() == ((h2) (a)).w)
                a.w();
        }
    }
}